#!/usr/bin/env python
# coding=utf8
# "sdf":{"type":"string","title":"pdf"}

import sys

import os
def control():
    with open("/Users/wangshan/Desktop/zhibiao","rb") as f:
        lines=f.read().splitlines()
        for i in lines:
            title=i.split(":")[0].strip()
            name = i.split(":")[1].strip()
            stra='\"'+name+'\":{\"type\":\"string\",\"title\":'+title+'},'
            print stra




if __name__ == "__main__":
    control()
